<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	   				 <!-- Cadastrar Indicador -->

  <p:dialog id="modalDialogIndicador" header="Cadastrar Indicador" widgetVar="dlgCadIndicador" modal="true" height="250" width="400">  
	<div style="text-align:left;">
	<h:panelGrid  columns="2" >
		<h:graphicImage value="/resources/images/cadastro.png" width="50" height="60" />	
		<h1>Cadastro de Indicador</h1>
	</h:panelGrid>
	</div>
	<fieldset>
		<legend>Informaões do Indicador</legend>
			<div style="text-align:left;">
				<h:panelGrid  columns="2" >
			    	<h:outputLabel value="Nome do Indicador:" />
			    	<p:inputText size="40" required="true" requiredMessage="Informe o nome do indicador" />
			    	
			    	<h:outputLabel value="Metrica:" />
			    	<p:inputText size="9" required="true" requiredMessage="Informe a metrica do indicador" />
			   		
			   		<h:outputLabel value="Tipo de Mídia:" />
			   		<p:selectOneMenu >
						<f:selectItem itemLabel="Selecione" itemValue="selecione" /> 
						<f:selectItem itemLabel="TV" itemValue="midia1" />
						<f:selectItem itemLabel="Radio" itemValue="midia2" />
						<f:selectItem itemLabel="Jornal" itemValue="midia3" />
						<f:selectItem itemLabel="Revista" itemValue="midia4" />
						<f:selectItem itemLabel="Web" itemValue="midia5" />
			        </p:selectOneMenu> 
			    </h:panelGrid>
			    
			 </div>  
		</fieldset>    	
		<br/>
		<p:commandButton value="Limpar" />
		<p:commandButton value="Fechar" onclick="dlgCadIndicador.hide();"/>
		<p:commandButton value="Gravar" />
  </p:dialog> 

</html>